home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / jaz_clib.arc / JZPLOT.ASM < prev    next >
Assembly Source File  |  1989-04-09  |  398b  |  21 lines

  1.     assume cs:_text
  2. _text    segment public byte 'code'
  3.     public _jzplot
  4.  
  5. _jzplot proc near
  6.     push bp             ; save base of stack
  7.     mov bp,sp            ; get pointer to arguments
  8.  
  9.     mov dx,[bp+4]            ; get y coordinate
  10.     mov cx,[bp+6]            ; get x coordinate
  11.     mov al,[bp+8]            ; get color
  12.  
  13.     mov ah,0ch            ; plot a pixel dot
  14.     int 10h             ; call bios
  15.     mov sp,bp
  16.     pop bp
  17.     ret
  18. _jzplot        endp
  19. _text    ends
  20. end
  21.